package com.xitest.test.guava;

import com.google.common.base.Stopwatch;

import java.time.Duration;

public class guava {
    public static void main(String[] args) {
        Stopwatch stopwatch = Stopwatch.createStarted();
        System.out.println("hahah");
        stopwatch.stop();
        Duration duration = stopwatch.elapsed();
        System.out.println(stopwatch);
    }
}
